package cn.luckdou.system.model.global;

import java.util.List;

/**
 * Created by 杨 on 2017/10/9.
 */
public class GlobalVo extends Global  {



        private List<GlobalVo>  children;
        public GlobalVo() {

        }
         public GlobalVo(Global global) {
                super.setId(global.getId());
                super.setPid(global.getPid());
                super.setPath(global.getPath());
                super.setLevel(global.getLevel());
                super.setCode(global.getCode());
                super.setName(global.getName());
                super.setNameEn(global.getNameEn());
                super.setNamePinyin(global.getNamePinyin());
         }
        public List<GlobalVo> getChildren() {
          return children;
        }

      public void setChildren(List<GlobalVo> children) {
          this.children = children;
       }
}
